Produced by Araxis Merge on 2021-05-13 09:08:40 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/code/Smartwave/Dailydeals/Model | Dailydeal.php | 2018-03-14 03:58:46 +0000 |
| 2 | /Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/code/Smartwave/Dailydeals/Model | Dailydeal.php | 2018-03-14 03:58:46 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 118 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | namespace Smartwave\Dailydeals\Model; | 2 | namespace Smartwave\Dailydeals\Model; | |||
| 3 | 3 | |||||
| 4 | class Dailydeal extends \Magento\Framework\Model\AbstractModel | 4 | class Dailydeal extends \Magento\Framework\Model\AbstractModel | |||
| 5 | { | 5 | { | |||
| 6 | /** | 6 | /** | |||
| 7 | * Cache tag | 7 | * Cache tag | |||
| 8 | * | 8 | * | |||
| 9 | * @var string | 9 | * @var string | |||
| 10 | */ | 10 | */ | |||
| 11 | const CACHE_TAG = 'sw_dailydeals_dailydeal'; | 11 | const CACHE_TAG = 'sw_dailydeals_dailydeal'; | |||
| 12 | 12 | |||||
| 13 | /** | 13 | /** | |||
| 14 | * Cache tag | 14 | * Cache tag | |||
| 15 | * | 15 | * | |||
| 16 | * @var string | 16 | * @var string | |||
| 17 | */ | 17 | */ | |||
| 18 | protected $_cacheTag = 'sw_dailydeals_dailydeal'; | 18 | protected $_cacheTag = 'sw_dailydeals_dailydeal'; | |||
| 19 | 19 | |||||
| 20 | /** | 20 | /** | |||
| 21 | * Event prefix | 21 | * Event prefix | |||
| 22 | * | 22 | * | |||
| 23 | * @var string | 23 | * @var string | |||
| 24 | */ | 24 | */ | |||
| 25 | protected $_eventPrefix = 'sw_dailydeals_dailydeal'; | 25 | protected $_eventPrefix = 'sw_dailydeals_dailydeal'; | |||
| 26 | 26 | |||||
| 27 | 27 | |||||
| 28 | /** | 28 | /** | |||
| 29 | * Initialize resource model | 29 | * Initialize resource model | |||
| 30 | * | 30 | * | |||
| 31 | * @return void | 31 | * @return void | |||
| 32 | */ | 32 | */ | |||
| 33 | protected function _construct() | 33 | protected function _construct() | |||
| 34 | { | 34 | { | |||
| 35 | $this->_init('Smartwave\Dailydeals\Model\ResourceModel\Dailydeal'); | 35 | $this->_init('Smartwave\Dailydeals\Model\ResourceModel\Dailydeal'); | |||
| 36 | } | 36 | } | |||
| 37 | 37 | |||||
| 38 | /** | 38 | /** | |||
| 39 | * Get identities | 39 | * Get identities | |||
| 40 | * | 40 | * | |||
| 41 | * @return array | 41 | * @return array | |||
| 42 | */ | 42 | */ | |||
| 43 | public function getIdentities() | 43 | public function getIdentities() | |||
| 44 | { | 44 | { | |||
| 45 | return [self::CACHE_TAG . '_' . $this->getId()]; | 45 | return [self::CACHE_TAG . '_' . $this->getId()]; | |||
| 46 | } | 46 | } | |||
| 47 | 47 | |||||
| 48 | /** | 48 | /** | |||
| 49 | * get entity default values | 49 | * get entity default values | |||
| 50 | * | 50 | * | |||
| 51 | * @return array | 51 | * @return array | |||
| 52 | */ | 52 | */ | |||
| 53 | public function getDefaultValues() | 53 | public function getDefaultValues() | |||
| 54 | { | 54 | { | |||
| 55 | $values = []; | 55 | $values = []; | |||
| 56 | 56 | |||||
| 57 | return $values; | 57 | return $values; | |||
| 58 | } | 58 | } | |||
| 59 | } | 59 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.